package com.ssy.lingxi.member.merchant.service.mobile;

import com.ssy.lingxi.common.model.vo.PageVO;
import com.ssy.lingxi.common.response.PageData;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.member.merchant.model.vo.basic.response.MemberRightScoreVO;
import com.ssy.lingxi.member.merchant.model.vo.manage.request.MemberAndRoleIdVO;
import com.ssy.lingxi.member.merchant.model.vo.mobile.request.MobileRightScoreHistoryPageVO;
import com.ssy.lingxi.member.merchant.model.vo.mobile.request.MobileShopRightScorePageVO;
import com.ssy.lingxi.member.merchant.model.vo.mobile.response.MobileRightScoreHistoryVO;
import com.ssy.lingxi.member.merchant.model.vo.mobile.response.MobileRightScoreVO;
import com.ssy.lingxi.member.merchant.model.vo.mobile.response.MobileShopRightScoreHistoryVO;
import org.springframework.http.HttpHeaders;

/**
 * App - 会员等级、权益、信用相关接口
 * @author 万宁
 * @version 2.0.0
 * @date 2020-12-17
 */
public interface IMobileLrcService {

    /**
     * “积分订单” - 查询平台通用和会员专有权益积分
     * @param headers Http头部信息
     * @param idVO 接口参数
     * @return 查询结果
     */
    Wrapper<MemberRightScoreVO> getMemberRightScore(HttpHeaders headers, MemberAndRoleIdVO idVO);

    /**
     * “我的积分” - 分页查询列表
     * @param headers Http头部信息
     * @param pageVO 接口参数
     * @return 查询结果
     */
    Wrapper<PageData<MobileRightScoreVO>> pageRightScore(HttpHeaders headers, PageVO pageVO);

    /**
     * “我的积分” - 分页查询权益积分历史记录
     * @param headers Http头部信息
     * @param pageVO 接口参数
     * @return 查询结果
     */
    Wrapper<PageData<MobileRightScoreHistoryVO>> pageRightScoreHistory(HttpHeaders headers, MobileRightScoreHistoryPageVO pageVO);

    /**
     * “找店铺 - 积分兑换” - 分页查询权益积分历史记录
     * @param headers Http头部信息
     * @param pageVO 接口参数
     * @return 查询结果
     */
    Wrapper<MobileShopRightScoreHistoryVO> pageShopRightScoreHistory(HttpHeaders headers, MobileShopRightScorePageVO pageVO);
}
